package model

import "RMS/app/shop/model/base"

type TableListReq struct {
	Status    *int `form:"status"`
	PageIndex *int `form:"page_index"`
	PageSize  *int `form:"page_size"`
}

type TableListResp struct {
	Data  []map[string]interface{} `json:"data"`
	Total int                      `json:"total"`
	base.Resp
}

type AddTableReq struct {
	Id     *int `json:"id"`
	Status *int `json:"status"`
}

type AddTableResp struct {
	base.Resp
}

type UpdateTableReq struct {
	Id     int `json:"id,required"`
	Status int `json:"status,required"`
}

type UpdateTableResp struct {
	base.Resp
}

type DeleteTableReq struct {
	Id int `json:"id,required"`
}

type DeleteTableResp struct {
	base.Resp
}
